package com.xzx.guazi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("t_guazi_car")
public class GuaziCar implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 主表ID
     */
    @TableField("name")
    private String name;

    @TableField("on_card_time")
    private String onCardTime;

    @TableField("milage")
    private String milage;

    @TableField("image_url")
    private String imageUrl;

    @TableField("create_time")
    private Date createTime;

    @TableField("brand")
    private String brand;

    @TableField("car_det_url")
    private String carDetUrl;

    /**
     * 原价
     */
    @TableField("original_price")
    private String originalPrice;

    /**
     * 现价
     */
    @TableField("now_price")
    private String nowPrice;

    @TableField("year_type")
    private String yearType;

    @TableField("model")
    private String model;

    @TableField("displacement")
    private String displacement;

    @TableField("national_standard")
    private String nationalStandard;

    @TableField("description")
    private String description;
}
